package com.diver.flinkdemo.entity.xxt;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author cy
 * @since 2018-11-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "state_config对象", description = "配置表")
@TableName("state_config")
public class StateConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty("主键")
    private String id;

    /**
     * 编号
     */
    @ApiModelProperty("编号")
    private Integer numB;

    /**
     * 类型  0：补学生证  1：换学生证
     */
    @ApiModelProperty("类型  0：补学生证  1：换学生证")
    private Integer sType;

    @ApiModelProperty("名称")
    private String sName;

    /**
     * 提示信息
     */
    @ApiModelProperty("提示信息")
    private String sTips;

    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String remoober;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

}
